Skip to content

Instantly share code, notes, and snippets.

@turicas
turicas / free-software-licenses.csv
Created August 10, 2016 01:31
Download list of free software licenses from GNU page
name short_name url
GNU General Public License (GPL) version 3 GNUGPLv3 https://www.gnu.org/licenses/gpl.html
GNU General Public License (GPL) version 2 GPLv2 https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
GNU Lesser General Public License (LGPL) version 3 LGPLv3 https://www.gnu.org/licenses/lgpl.html
GNU Lesser General Public License (LGPL) version 2.1 LGPLv2.1 https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
GNU Affero General Public License (AGPL) version 3 AGPLv3.0 https://www.gnu.org/licenses/agpl.html
GNU All-Permissive License GNUAllPermissive https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html
Apache License, Version 2.0 apache2 http://directory.fsf.org/wiki/License:Apache2.0
Artistic License 2.0 ArtisticLicense2 http://directory.fsf.org/wiki/License:ArtisticLicense2.0
Clarified Artistic License ClarifiedArtisticLicense http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@grenkoca
grenkoca / copy-fail-CVE-2026-31431__unminimized.py
Created April 29, 2026 23:47
CVE-2026-31431 (copy-fail) unminimized
#!/usr/bin/env python3
import os
import zlib
import socket
def d(x):
return bytes.fromhex(x)
@essammurad
essammurad / prompt.md
Created May 7, 2026 10:15 — forked from Pythonation/prompt.md
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@Pythonation
Pythonation / prompt.md
Last active May 7, 2026 10:15
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@eikelab
eikelab / llm-wiki-pattern.md
Created April 11, 2026 01:26
llm-wiki-pattern

The LLM Wiki Pattern

A pattern for building personal knowledge bases with LLMs. Not RAG — a compiled, persistent wiki that the LLM builds and maintains incrementally.

"The wiki is a persistent, compounding artifact. The cross-references are already there. The contradictions have already been flagged. The synthesis already reflects everything you've read." — Andrej Karpathy

Why classical RAG falls short

Standard setup (NotebookLM, ChatGPT file uploads, generic RAG): drop documents in, retrieve on every question, the LLM rediscovers your knowledge from scratch each time. No accumulation, no compounding. A subtle question that synthesizes five sources starts at zero, every time.

@ityonemo
ityonemo / test.md
Last active May 7, 2026 10:12
Zig in 30 minutes

A half-hour to learn Zig

This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/

Basics

the command zig run my_code.zig will compile and immediately run your Zig program. Each of these cells contains a zig program that you can try to run (some of them contain compile-time errors that you can comment out to play with)